package top.tresman.cxxcommon.utils;

import org.modelmapper.ModelMapper;

public class BeanUtils {
    private static final ModelMapper modelMapper = new ModelMapper();

    public static <T> T map(Object source, Class<T> targetType) {
        return modelMapper.map(source, targetType);
    }
}
